package com.bubblegumproject.ogo.action;

import java.util.Map;

/**
 * A namespace that cotnains certain bindings.
 *
 * @author Azubuko Obele (buko.obele@gmail.com)
 */
public interface Context {

    public String getName();

    public Context getParent();

    public void set(String key, Object o);

    public Object get(String key);

    /**
     * @return the data in only <strong>this</strong> Context, <strong>not</strong> its parent Context
     */
    public Map<String, Object> getData();

}
